﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SoulDoorEngine.Components.Smart2D.Objects;
using SoulDoorEngine.Components.Smart2D.Events;

namespace SoulDoorEngine.Components.Smart2D.Info
{
    internal class MouseButtonDownInfo
    {
        private GraphicObj _Party;
        private MouseButtonDownEventArgs _Information;

        /// <summary>
        /// 信息
        /// </summary>
        public MouseButtonDownEventArgs Information
        {
            get { return _Information; }
            set { _Information = value; }
        }

        /// <summary>
        /// 当事人
        /// </summary>
        public GraphicObj Party
        {
            get { return _Party; }
            set { _Party = value; }
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="party">当事人</param>
        /// <param name="information">信息</param>
        public MouseButtonDownInfo(GraphicObj party, MouseButtonDownEventArgs information)
        {
            this.Party = party;
            this.Information = information;
        }
    }
}
